<template>
  <el-form :model="form">
    <el-form-item label="Promotion name" :label-width="formLabelWidth">
      <el-input v-model="form.name" autocomplete="off" />
    </el-form-item>
    <el-form-item label="Zones" :label-width="formLabelWidth">
      <el-select v-model="form.region" placeholder="Please select a zone">
        <el-option label="Zone No.1" value="shanghai" />
        <el-option label="Zone No.2" value="beijing" />
      </el-select>
    </el-form-item>
  </el-form>
</template>

<script setup lang="ts">
const formLabelWidth = '140px'
defineProps({
  form: {
    type: Object,
    default: {},
  },
})
</script>

<style scoped></style>
